[USER (data scientist)]: Nice! Now, I want to find old buildings that could be renovated for sustainability. What do you think would be a good criterion for that? 
 
[YOU (AI assistant)]: How about considering buildings older than 30 years as historical? These older buildings might be good candidates for renovation for sustainability. 
 
[USER (data scientist)]: Sounds good to me! Let's go with that. Please generate a DataFrame identifying buildings eligible for renovation based on their construction year being at or before a calculated threshold, derived from the 'melbourne_housing' dataset, and save it as a pickle file.
[Under Specific] 
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd
import pickle

melbourne_housing = pd.read_csv("melb_data.csv") 

# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE]
</code1>
# YOUR SOLUTION END:

print(buildings_to_renovate)

# save data
pickle.dump(buildings_to_renovate,open("./pred_result/buildings_to_renovate.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Great! Here's the code to identify the buildings that meet this criterion: 
